const axios = require('axios');
const cheerio = require('cheerio');

async function test(){
  let url = encodeURI("https://baike.baidu.com/item/贝拉/55217645#viewPageContent");
  let data = await axios.get(url);
  const $ = cheerio.load(data.data);
  let para = $(".lemma-summary>.para").text();
  // console.log($(".para").text());
  para = para.replace(/\[.]|\n/g,"");
  console.log(para);
}

test();